<!DOCTYPE html>
<html>
<head>
    <title>检查字典存储</title>
    <script>
        function checkStorage() {
            const dict = localStorage.getItem('h5_dictionary');
            console.log('字典数据:', dict);
            
            if (dict) {
                try {
                    const parsed = JSON.parse(dict);
                    console.log('解析后的字典:', parsed);
                    console.log('字典类型:', Object.keys(parsed));
                    
                    if (parsed['充电站运营状态']) {
                        console.log('充电站运营状态字典:', parsed['充电站运营状态']);
                        console.log('字典结构:', Object.entries(parsed['充电站运营状态']));
                    }
                } catch (e) {
                    console.error('解析错误:', e);
                }
            } else {
                console.log('未找到字典数据');
            }
        }
        
        // 页面加载后立即检查
        window.onload = checkStorage;
    </script>
</head>
<body>
    <h1>字典存储检查</h1>
    <p>打开开发者工具查看控制台输出</p>
    <button onclick="checkStorage()">重新检查</button>
</body>
</html>